package com.hx.petsever.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hx.petsever.entity.User;
import org.apache.ibatis.annotations.Param;


import java.util.HashMap;
import java.util.Map;


public interface UserService extends IService<User> {

    Map login(User user);
    HashMap<String,String> Register(User user);
    HashMap<String,String> verify(@Param("password") String password,
                                  @Param("phone") String phone,
                                  @Param("openID") String openID);
    Boolean ifverify( @Param("openID") String openID);
}
